<template>
    <a :href="'#' + props.to">
        <slot />
    </a>
</template> 

<script setup>
import { defineProps } from 'vue';

const props = defineProps({
    to: {
        type: String,
        required: true
    }
})
</script>

<style lang="css" scoped>

</style>